package com.app.util;

import java.util.Calendar;

public class Util {

	public static String getAlarmTimeString(Calendar c) {
		String h, m;
		h = m = "";
		if (c.get(Calendar.MINUTE) < 10)
			m = "0";
		if (c.get(Calendar.HOUR_OF_DAY) < 10)
			h = "0";
		return (h + c.get(Calendar.HOUR_OF_DAY) + ":" + m + c.get(Calendar.MINUTE));
	}
}
